package day07;

/**
 * @author Huangjin
 * @version 1.0
 * describe:
 * @date 2023/2/20 14:35
 */
public class One {
    public static void main(String[] args) {
        for (int num = 2; num <= 100; num++) {
            boolean flag = true;
            for (int i = 2; i < num/2; i++) {
                if (num%2==0){
                    flag = false;
                    break;
                }
            }
            if (flag){
                System.out.println(num+"是素数");
            }
        }
    }
}
